<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html lang="en">
<script src="${ctx}/static/healthassess/js/jquery-2.1.4.min.js"></script>
<script src="${ctx}/static/inspinia/js/plugins/layer/layer.js"></script>
<script src="${ctx}/static/h5/js/initRem.js"></script>
<head>
    <title>问卷列表</title>
    <%@ include file="/jsp/common.jsp"%>
    <link href="${ctx}/static/h5/css/base.css" rel="stylesheet">
    <link href="${ctx}/static/h5/css/q-style.css" rel="stylesheet">
</head>

<body class="bg-cf">
    <section class="ui-content">
        <div class="content-block padding-l-0 padding-r-0 padding-t-0 margin-b-0">
            <section class="history_note">
                <ul>
                    <c:forEach var="item" items="${questionList}">
                        <li>
                            <a href="${ctx}/h5/question/user?rid=${item.rid}&companyId=${item.companyId}">
                                <p><span class="title">${item.title}</span>
                                    <c:if test="${item.date != null}"><span class="status">已填写</span></c:if>
                                    <c:if test="${item.date == null}"><span class="status not-filled">未填写</span></c:if>
                                    </p>
                                <c:if test="${item.date != null}"><p><em>${item.company}</em><span class="datetime">${item.date}</span></p></c:if>
                            </a>
                        </li>
                    </c:forEach>
                </ul>
            </section>
        </div>
    </section>
</body>

</html>